package com.zhome.gateway.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 *
 * @author cuiyh9
 * @date 2020/5/9
 */
@Data
@TableName("server_info")
public class ServerInfoEntity extends Model<ServerInfoEntity> {

    @TableId(value="id", type = IdType.AUTO)
    private Integer id;

    @TableField(value="name")
    private String name;

    @TableField(value="type")
    private String type;

    @TableField(value="domain")
    private String domain;

    @TableField(value="server_desc")
    private String serverDesc;

    @TableField(value="create_time")
    private Date createTime;

    @TableField(value="create_user")
    private String createUser;

    @TableField(value="update_time")
    private Date updateTime;

    @TableField(value="update_user")
    private String updateUser;

    @TableField(value="del_flag")
    private Integer delFlag;
}
